package moltencore.network.protocol;

import spark.network.protocol.Base;
import spark.network.Util;

public class ReadyToPlay extends Base{
	public static final short TYPE = 0x44;
	private static final byte[] TYPE_BYTES = Util.makeBytes(TYPE);

	public ReadyToPlay() {
		super(true, TYPE_BYTES);
	}

	public static ReadyToPlay create(byte[] buffer, long receiveTime) {
		ReadyToPlay packet = new ReadyToPlay();
		packet.fill(buffer);
		packet.setTimeStampReceive(receiveTime);
		return packet;
	}
}